﻿using System;
using System.Collections.Generic;
using CQRS.Events;
using CQRS.Events.DomainClass;
using CQRS.Events.Memento;

namespace CQRS.Sample.Domain.BOs
{
    public class Airport : AggregateRoot<Event>, IOriginator
    {
        public string Name { get; private set; }

        public string Address { get; private set; }

        public long GateNumber { get; private set; }

        public IList<FlightCompany> FlightCompanies
        {
            get; private
            set;
        }

        public Airport()
        {
            Name = Address = string.Empty;
            GateNumber = 0;
            FlightCompanies = new List<FlightCompany>();
        }

        public IMemento CreateMemento()
        {
            throw new NotImplementedException();
        }

        public void SetMemento(IMemento memento)
        {
            throw new System.NotImplementedException();
        }
    }
}